package com.example.myapplication_2.a600_xm.base;

import android.app.Application;

/**
 *
 */
public class MyApplication extends Application {

    private static Application sInstance;


    @Override
    public void onCreate() {
        super.onCreate();
        sInstance = this;
//        getokhttp();

    }


    public static Application getInstance() {
        return sInstance;
    }
//    public void getokhttp() {
//        OkHttpClient okHttpClient = new OkHttpClient.Builder()
////                .addInterceptor(new LoggerInterceptor("TAG"))
//                .connectTimeout(30000L, TimeUnit.MILLISECONDS)
//                .readTimeout(30000L, TimeUnit.MILLISECONDS)
//                //其他配置
//                .build();
//
//        OkHttpUtils.initClient(okHttpClient);
//    }

}
